package cn.lbd.api.designMode.factory.method;

public class Client {
    public static void main(String[] args) {
        Car car = new DongfengFactory().getCar();
        car.name();
        Car car1 = new FengtianFactory().getCar();
        car1.name();
        Car car2 = new BenchiFactory().getCar();
        car2.name();
    }
}
